package com.ldc.service.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ldc.model.Config;

import java.util.List;

/**
 * 功能说明
 *
 * @auther liudc
 * @since 2023/6/24
 */
public interface ConfigService extends IService<Config> {

    List<Config> findListByType(String type);

    List<Config> findListBy(LambdaQueryWrapper<Config> queryWrapper);

    int batchDeleteBy(LambdaQueryWrapper<Config> queryWrapper);

    int batchDeleteByTypeAndKeyCode(String type, String keyName);

}
